package com.nsu.evaluation.service;

import com.nsu.evaluation.common.ServerResponse;
import com.nsu.evaluation.pojo.StudentScore;

import java.util.List;

public interface ScoreService {

    ServerResponse<StudentScore> addStudentScore(StudentScore studentScore);//新增学生成绩

    ServerResponse deleteStudentScore(String studentScoreId);//删除学生成绩

    ServerResponse updateStudentScoreByPrimaryKey(StudentScore studentScore);//修改学生成绩

    ServerResponse<List<StudentScore>> selectStudentScoreByPrimaryKey(StudentScore studentScore);//根据学年学期或者学生id查询成绩

    ServerResponse<List<StudentScore>> getAllScoreList();//获取所有成绩
}
